package com.yfp.goods.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class GoodsDto implements Serializable {
    private static final long serialVersionUID = -79371634493342368L;
    /**
     * 商品id
     */
    @Schema(title ="商品id")
    private String goodsId;
    /**
     * 商品名称
     */
    @Schema(title ="商品名称")
    private String goodsName;
    /**
     * 商品描述
     */
    @Schema(title ="商品描述")
    private String goodsDesc;
    /**
     * 公司id
     */
    @Schema(title ="公司id")
    private String companyId;
    /**
     * 区域id
     */
    @Schema(title ="区域id")
    private String areaId;
    /**
     * 区域名称
     */
    @Schema(title ="区域名称")
    private String areaName;

    /**
     * 商品分类id
     */
    @Schema(title ="商品分类id")
    private String goodsTypeId;

    /**
     * 商品分类名称
     */
    @Schema(title ="商品分类名称")
    private String goodsTypeName;

    /**
     * 销售价
     */
    @Schema(title ="销售价")
    private String salePrice;
    /**
     * 成本价
     */
    @Schema(title ="成本价")
    private String costPrice;
    /**
     * 加热时间（秒）
     */
    @Schema(title ="加热时间（秒）")
    private Integer heatTime;
    /**
     * 温度
     */
    @Schema(title ="温度")
    private String temperature;
    /**
     * 供应商
     */
    @Schema(title ="供应商")
    private String supplier;
    /**
     * 封面图片id
     */
    @Schema(title ="封面图片id")
    private String frontImgId;
    /**
     * 封面图片url
     */
    @Schema(title ="封面图片url")
    private String frontImgUrl;
    /**
     * 口味（辣/不辣）
     */
    @Schema(title ="口味（辣/不辣）")
    private String taste;
    /**
     * 重量（g）
     */
    @Schema(title="重量（g）")
    private String weight;
    /**
     * 热量（kal）
     */
    @Schema(title="热量（kal）")
    private String calorie;
    /**
     * 启用1/禁用
     */
    @Schema(title="启用1/禁用")
    private Integer enable;
    /**
     * 创建时间
     */
    @Schema(title="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @Schema(title="更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 是否删除
     */
    @Schema(title="是否删除")
    private Boolean isDelete;
    /**
     * 商品视频id
     */
    @Schema(title ="商品视频id")
    private String videoId;
    /**
     * 保质期（天）
     */
    @Schema(title ="保质期（天）")
    private Integer expireDay;
    /**
     * 会员价
     */
    @Schema(title ="会员价")
    private String vipPrive;
    /**
     * 小程序价
     */
    @Schema(title ="小程序价")
    private String miniPrice;
    @Schema(title ="创建人")
    private String createBy;

    @Schema(title ="配料")
    private String dosing;

    @Schema(title ="城市名称")
    private String cityName;

    public String getDosing() {
        return dosing;
    }

    public void setDosing(String dosing) {
        this.dosing = dosing;
    }


    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(String goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(String salePrice) {
        this.salePrice = salePrice;
    }

    public String getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(String costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getHeatTime() {
        return heatTime;
    }

    public void setHeatTime(Integer heatTime) {
        this.heatTime = heatTime;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getFrontImgId() {
        return frontImgId;
    }

    public void setFrontImgId(String frontImgId) {
        this.frontImgId = frontImgId;
    }

    public String getFrontImgUrl() {
        return frontImgUrl;
    }

    public void setFrontImgUrl(String frontImgUrl) {
        this.frontImgUrl = frontImgUrl;
    }

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getCalorie() {
        return calorie;
    }

    public void setCalorie(String calorie) {
        this.calorie = calorie;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public Integer getExpireDay() {
        return expireDay;
    }

    public void setExpireDay(Integer expireDay) {
        this.expireDay = expireDay;
    }

    public String getVipPrive() {
        return vipPrive;
    }

    public void setVipPrive(String vipPrive) {
        this.vipPrive = vipPrive;
    }

    public String getMiniPrice() {
        return miniPrice;
    }

    public void setMiniPrice(String miniPrice) {
        this.miniPrice = miniPrice;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
}
